UNPKG
@nadeshikon/plugin-nextjs
Version:
latest (4.29.5-4)
4.29.5
4.29.5-4
4.29.5-3
4.29.5-2
4.29.5-1
Run Next.js seamlessly on Netlify
github.com/netlify/next-runtime
netlify/next-runtime
@nadeshikon/plugin-nextjs
/
demos
/
custom-routes
/
pages
/
blog-catchall
/
[...slug].js
19 lines
(16 loc)
•
306 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
export
const
getStaticProps
= (
{ params }
) => {
return
{
props
: { params, }, } }
export
const
getStaticPaths
= (
) => {
return
{
paths
: [],
fallback
:
'blocking'
, } }
export
default
function
Page
(
props
) {
return
<
p
id
=
"props"
>
{JSON.stringify(props)}
</
p
>
}